package com.nacai.im;

public enum SendMsgFeedBack {
    //登出
    IM_SEND_CHAT_CANT_SEND_STATUS_FORBID("IM_SEND_CHAT_CANT_SEND_STATUS_FORBID"),
    IM_LOGIN_SUCCESS("IM_SESSION_LOGIC_LOG_SUCESS"),
    IM_CONNECT_FAIL("IM_CONNECTON_CONNECT_FAIL"),
    IM_CONNECTING("IM_CONNECTON_CONNECTING"),
    IM_CONNECT_SUCESS("IM_CONNECTON_CONNECT_SUCESS"),
    IM_LOGING("IM_SESSION_LOGIC_LOGING"),
    //无uid
    IM_NO_UID("IM_SEND_CHAT_CANT_SEND_NOUID"),
    //ack 收到服务器回复  error服务器拒绝 timeout 发送失败
    IM_SEND_CHAT_SUCCESS("IM_SEND_CHAT_CANT_SEND_PEER_ACK"),
    IM_SEND_CHAT_ERROR("IM_SEND_CHAT_CANT_SEND_PEER_ACK_ERROR"),
    IM_SEND_CHAT_TIMEOUT("IM_SEND_CHAT_CANT_SEND_PEER_ACK_TIMEOUT"),

    IM_SEND_CHAT_GROUP_SUCCESS("IM_SEND_CHAT_CANT_SEND_GROUP_ACK"),
    IM_SEND_CHAT_GROUP_ERROR("IM_SEND_CHAT_CANT_SEND_GROUP_ACK_ERROR"),
    IM_SEND_CHAT_GROUP_TIMEOUT("IM_SEND_CHAT_CANT_SEND_GROUP_ACK_TIMEOUT");

    private String desc;
    SendMsgFeedBack(String desc) {
        this.desc = desc;
    }

    @Override
    public String toString() {
        return desc;
    }
}
